/**
 * Created by dell on 2017/5/10.
 */
import java.util.Scanner;

public class LCHMyMath
{
    public static void main (String[] arg)
    {
        int num1, num2, num3, end;

        Scanner scan = new Scanner (System.in)
                ;

        System.out.print ("Enter the num1: ")
        ;
        num1 = scan.nextInt()
        ;

        System.out.print ("Enter the num2: ")
        ;
        num2 = scan.nextInt()
        ;

        System.out.print ("Enter the num3: ")
        ;
        num3 = scan.nextInt()
        ;

        end= (num1 + num2 + num3 ) /3
        ;

        getPrintln(end)
        ;
    }

    private static void getPrintln(int end) {
        System.out.println ("The result is: " + end);
    }
}
